//
//  MZProgramViewController.h
//  Mehfile Zainab
//
//  Created by Sitara Badourali on 15/04/12.
//  Copyright 2012 Mehfile Zainab. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "URLCacheConnection.h"
#import "MZTableViewController.h"

//@interface MZProgramViewController : UITableViewController <URLCacheConnectionDelegate> {
@interface MZProgramViewController : MZTableViewController <URLCacheConnectionDelegate> {
    
	NSMutableArray *programArray;

    UIActivityIndicatorView* spinner;
    
   	UIAlertView* alertView;
    
	/*
	NSString *pDate;
	NSString *pIslamicDate;
	NSString *pList;
	NSString *pStartDate;
	NSString *pTitle;
	NSString *pDesc;
	*/
    
   	NSString *dataPath;
	NSError *error;
	NSMutableArray *urlArray;
	NSString *filePath;
	NSDate *fileDate;
	URLCacheConnection *connection;
    BOOL XMLParsed;
    BOOL alertDisplayed;
    
}

@property (nonatomic,retain) NSMutableArray *programArray;

@property (nonatomic, retain) UIActivityIndicatorView* spinner;

@property (nonatomic, retain) UIAlertView* alertView;

/*
@property (nonatomic,retain) NSString *pDate;
@property (nonatomic,retain) NSString *pIslamicDate;
@property (nonatomic,retain) NSString *pList;
@property (nonatomic,retain) NSString *pStartDate;
@property (nonatomic,retain) NSString *pTitle;
@property (nonatomic,retain) NSString *pDesc;
*/

@property (nonatomic, copy) NSString *dataPath;
@property (nonatomic, retain) NSMutableArray *urlArray;
@property (nonatomic, copy) NSString *filePath;
@property (nonatomic, retain) NSDate *fileDate;
@property (nonatomic, retain) URLCacheConnection *connection;
@property BOOL XMLParsed;
@property BOOL alertDisplayed;

- (void) loadDataWithURL:(NSURL *)theURL;

@end
